


/**
 * Perform the element default action.
 *
 * @param {JSEvent} event the event that triggered the action
 *
 * @properties={typeid:24,uuid:"778E1400-8FA5-4D23-BD11-56318082D935"}
 */
function btn_ir_ficha(event) {

	/** @type {JSFoundSet<db:/casilleros/t100_productos>} */
	var fs = databaseManager.getFoundSet("casilleros","t100_productos");
	fs.loadRecords(foundset.getSelectedRecord().id);
	globals.btnIrFicha(event, fs, forms.frm_t100_productos.controller.getName());
}

/**
 * @param {JSEvent} event
 *
 * @properties={typeid:24,uuid:"27CAD955-63EB-4601-9E55-E553A31195D1"}
 */
function btnIrFichaEdit(event){
	
	/** @type {JSFoundSet<db:/casilleros/t100_productos>} */
	var fs = databaseManager.getFoundSet("casilleros","t100_productos");
	fs.loadRecords(foundset.getSelectedRecord().id);
	globals.btnIrFichaEdit(event, fs, forms.frm_t100_productos.controller.getName());
}
/**
 * Perform the element default action.
 *
 * @param {JSEvent} event the event that triggered the action
 *
 * @properties={typeid:24,uuid:"9B99626D-8ED1-404C-A200-06A05F333212"}
 */
function btn_eliminar_fichero(event) {

	/** @type {JSFoundSet<db:/casilleros/t100_productos>} */
	var fs = databaseManager.getFoundSet("casilleros","t100_productos");
	fs.loadRecords(foundset.getSelectedRecord().id);
	globals.deleteRecord(fs);
	
}
